import React from 'react';
import ReactDom from 'react-dom';
import ProjectManager from './ProjectManager';
import ComponentDoc from './ComponentDoc';
import DesignModelPage from './DesignModelPage';
import DesignActionPage from './DesignAction';
import {HashRouter, Route, Switch, Redirect} from 'react-router-dom';
import 'antd/dist/antd.css';

ReactDom.render(
    <HashRouter>
        <Switch>
            {/* <Route path="/designAction" component={DesignActionPage} />
            <Route path="/designModel" component={DesignModelPage} />
            <Route path="/componentDoc" component={ComponentDoc} />
            <Route path="/projectManager" component={ProjectManager} />
            <Redirect extra from="/" to="/designModel" /> */}
            <Route path="/demo"  />
        </Switch>
    </HashRouter>

, document.getElementById('root'));